import java.time.ZonedDateTime;

/**
 * @author ShiLei
 * @version v1.0
 * @date 2020-03-19 21:38
 */
public class T2 {
    public static void main(String[] args) {
        //获取当前时间 默认时区
        /**
         * 2020-03-19T21:39:56.544+08:00[Asia/Shanghai]
         */
        ZonedDateTime zonedDateTime = ZonedDateTime.now();
        System.out.println(zonedDateTime);
    }
}
